﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UMLDesigner
{
    public class ParameterData
    {
        private string name;
        private string type;

        public ParameterData(string newName, string newType)
        {
            name = newName;
            type = newType;           
        }

        public string GetName()
        {
            return name;
        }

        public void SetName(string newName)
        {
            name = newName;
        }

        public string GetParamType()
        {
            return type;
        }

        public void SetType(string newType)
        {
            type = newType;
        }

        public string GetUMLRepresentation()
        {
            return name + " : " + type;
        }

    }
}
